/*
 *    Copyright (c) 2018-2025, bpm All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: bpm
 */

package com.yuandian.api.management.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 应用系统表
 *
 * @author zfsn
 * @date 2023-01-31 17:19:38
 */
@Data
@TableName("t_system_management")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "应用系统表")
public class TSystemManagement extends Model<TSystemManagement> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 资源编码
     */
    @ApiModelProperty(value="资源编码")
    private String resourceCoding;

    /**
     * 应用系统名称
     */
    @ApiModelProperty(value="应用系统名称")
    private String name;

    /**
     * 状态 0：初始化；1：监控中；2：停止
     */
    @ApiModelProperty(value="状态 0：初始化；1：监控中；2：停止")
    private Integer isStatus;

    /**
     * 类型 1：营业厅 2：网厅
     */
    @ApiModelProperty(value="类型 1：营业厅 2：网厅")
    private Integer type;

    /**
     * 系统所属域id
     */
    @ApiModelProperty(value="系统所属域id")
    private Integer systemDomainId;

    /**
     * 是否存在区域编码 0 否 1 是
     */
    @ApiModelProperty(value="是否存在区域编码 0 否 1 是")
    private Integer isRegion;

    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private String creater;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remark;

    /**
     * 是否存在漂移 0 否 1 是
     */
    @ApiModelProperty(value="是否存在漂移 0 否 1 是")
    private Integer isMove;

    /**
     * 是否为关键系统 0:否1:是
     */
    @ApiModelProperty(value="是否为关键系统 0:否1:是")
    private Integer keySystem;

    /**
     * 显示顺序
     */
    @ApiModelProperty(value="显示顺序")
    private Integer showOrder;

    /**
     * 是否虚拟系统
     */
    @ApiModelProperty(value="是否虚拟系统")
    private Integer isVirtualSystem;

}
